﻿using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace Acme.ShopStore.ShopUsers
{
    public class CreateUpdateShopUserDto
    {
        [Required]
        [StringLength(128)]
        public string UserName { get; set; }

        [Required]
        public int UserAge { get; set; }

        public bool? UserSex { get; set; }

        [Required]
        [StringLength(11)]
        public string UserPhone { get; set; }
    }
}
